Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.categorization.defaultCoverageCategorizer--categorizers

This contribution is part of XML component org.nuxeo.ecm.platform.categorization.defaultCoverageCategorizer inside nuxeo-platform-categorization-coverage-6.0.jar

Documentation

Default categorizers to guess dc:coverage.

Extension Point

Extension point categorizers of component DocumentCategorizationService.

Contributed Items

  • <categorizer enabled="true" factory="org.nuxeo.ecm.platform.categorization.categorizer.tfidf.TfIdfCategorizerFactory" maxSuggestions="1" model="models/countries-30-tfidf-65536-model.gz" name="dc:coverage" precisionThreshold="1.5" property="dc:coverage">
         <skip>
          <facet name="Folderish"/>
         </skip>
         <mapping>
           <outcome name="bangladesh">asia/Bangladesh</outcome>
           <outcome name="brazil">south-america/Brazil</outcome>
           <outcome name="china">asia/China</outcome>
           <outcome name="colombia">south-america/Colombia</outcome>
           <outcome name="congo">africa/Congo_Republic</outcome>
           <outcome name="egypt">africa/Egypt</outcome>
           <outcome name="ethiopia">africa/Ethiopia</outcome>
           <outcome name="france">europe/France</outcome>
           <outcome name="germany">europe/Germany</outcome>
           <outcome name="india">asia/India</outcome>
           <outcome name="indonesia">asia/Indonesia</outcome>
           <outcome name="iran">asia/Iran</outcome>
           <outcome name="italy">europe/Italy</outcome>
           <outcome name="japan">asia/Japan</outcome>
           <outcome name="mexico">north-america/Mexico</outcome>
           <outcome name="nigeria">africa/Nigeria</outcome>
           <outcome name="pakistan">asia/Pakistan</outcome>
           <outcome name="philippines">asia/Philippines</outcome>
           <outcome name="russia">europe/Russian_Federation</outcome>
           <outcome name="south_africa">africa/South_Africa</outcome>
           <outcome name="south_korea">asia/South_Korea</outcome>
           <outcome name="spain">europe/Spain</outcome>
           <outcome name="tanzania">africa/Tanzania</outcome>
           <outcome name="thailand">asia/Thailand</outcome>
           <outcome name="turkey">asia/Turkey</outcome>
           <outcome name="ukraine">europe/Ukraine</outcome>
           <outcome name="united_kingdom">europe/United_Kingdom_of_Great_Britain_N_Ireland</outcome>
           <outcome name="united_states">north-america/United_States_of_America</outcome>
           <outcome name="vietnam">asia/Viet_Nam</outcome>
         </mapping>
       </categorizer>

XML Source

<extension point="categorizers" target="org.nuxeo.ecm.platform.categorization.service.DocumentCategorizationService">

    <documentation>
      Default categorizers to guess dc:coverage.
    </documentation>

    <categorizer enabled="true" factory="org.nuxeo.ecm.platform.categorization.categorizer.tfidf.TfIdfCategorizerFactory" maxSuggestions="1" model="models/countries-30-tfidf-65536-model.gz" name="dc:coverage" precisionThreshold="1.5" property="dc:coverage">
     <skip>
      <facet name="Folderish"/>
     </skip>
     <mapping>
       <outcome name="bangladesh">asia/Bangladesh</outcome>
       <outcome name="brazil">south-america/Brazil</outcome>
       <outcome name="china">asia/China</outcome>
       <outcome name="colombia">south-america/Colombia</outcome>
       <outcome name="congo">africa/Congo_Republic</outcome>
       <outcome name="egypt">africa/Egypt</outcome>
       <outcome name="ethiopia">africa/Ethiopia</outcome>
       <outcome name="france">europe/France</outcome>
       <outcome name="germany">europe/Germany</outcome>
       <outcome name="india">asia/India</outcome>
       <outcome name="indonesia">asia/Indonesia</outcome>
       <outcome name="iran">asia/Iran</outcome>
       <outcome name="italy">europe/Italy</outcome>
       <outcome name="japan">asia/Japan</outcome>
       <outcome name="mexico">north-america/Mexico</outcome>
       <outcome name="nigeria">africa/Nigeria</outcome>
       <outcome name="pakistan">asia/Pakistan</outcome>
       <outcome name="philippines">asia/Philippines</outcome>
       <outcome name="russia">europe/Russian_Federation</outcome>
       <outcome name="south_africa">africa/South_Africa</outcome>
       <outcome name="south_korea">asia/South_Korea</outcome>
       <outcome name="spain">europe/Spain</outcome>
       <outcome name="tanzania">africa/Tanzania</outcome>
       <outcome name="thailand">asia/Thailand</outcome>
       <outcome name="turkey">asia/Turkey</outcome>
       <outcome name="ukraine">europe/Ukraine</outcome>
       <outcome name="united_kingdom">europe/United_Kingdom_of_Great_Britain_N_Ireland</outcome>
       <outcome name="united_states">north-america/United_States_of_America</outcome>
       <outcome name="vietnam">asia/Viet_Nam</outcome>
     </mapping>
   </categorizer>

  </extension>